package vip.xiaonuo.sys.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import vip.xiaonuo.common.consts.FeignConstant;
import vip.xiaonuo.sys.api.dto.req.WechatCheckinReqDto;
import vip.xiaonuo.sys.api.dto.resp.WechatCheckinRespDto;

import java.util.List;

/**
 * @author zjt
 * @description
 * @since 2025/7/21 09:42
 */
@FeignClient(name = FeignConstant.WEB_APP, contextId = "WechatCheckinFeign")
public interface WechatCheckinFeign {

    /**
     * 获取打卡记录
     *
     * @param checkinReqDto
     */
    @RequestMapping("/feign/sys/wechat/checkin/getCheckinList")
    List<WechatCheckinRespDto> getCheckinList(@RequestBody WechatCheckinReqDto checkinReqDto);
}
